class CreateComments < ActiveRecord::Migration
  def self.up
   execute "CREATE TABLE `comments` (
  `id` int(11) NOT NULL auto_increment,
  `content` text NOT NULL,
  `created_at` datetime NOT NULL,
  `bug_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY  (`id`)
)"
  end

  def self.down
    drop_table :comments
  end
end
